package com.example.system.entity.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("tb_question")
public class QuestionDO extends BaseEntity implements Serializable {
    @TableId(value = "question_id", type = IdType.ASSIGN_ID)
    private Long questionId;

    @TableField("title")
    private String title;

    @TableField("difficulty")
    private Integer difficulty;

    @TableField("time_limit")
    private Long timeLimit;

    @TableField("space_limit")
    private Long spaceLimit;

    @TableField("content")
    private String content;

    @TableField("question_case")
    private String questionCase;

    @TableField("default_code")
    private String defaultCode;

    @TableField("main_fuc")
    private String mainFuc;
}
